const babelConfig = {
  presets: [["@babel/preset-env",{
      useBuiltIns: "entry",
      corejs: 2
  }], "@babel/preset-react"],
  plugins: [[
    "import", {
      "libraryName": "antd",
      "libraryDirectory": "es",
      "style": "css" 
    }
  ] ,"@babel/plugin-syntax-dynamic-import",'@babel/plugin-transform-runtime','@babel/plugin-proposal-class-properties']
}

module.exports = babelConfig;